package org.monkey.example.websocket.entity.form;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.monkey.common.cbs.entity.form.BaseAddForm;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@ApiModel
@NoArgsConstructor
@AllArgsConstructor
public class SocketMsgAddForm extends BaseAddForm {
          @ApiModelProperty(name = "msgType", value = "消息类型")
      private String msgType;
          @ApiModelProperty(name = "channel", value = "订阅类型")
      private String channel;
          @ApiModelProperty(name = "params", value = "参数")
      private String params;
          @ApiModelProperty(name = "tags", value = "标签")
      private String tags;
          @ApiModelProperty(name = "namespace", value = "命名空间")
      private String namespace;
          @ApiModelProperty(name = "msgId", value = "消息id")
      private String msgId;
          @ApiModelProperty(name = "readStatus", value = "是否已读")
      private Boolean readStatus;
          @ApiModelProperty(name = "channelGroup", value = "订阅类型组")
      private String channelGroup;
          @ApiModelProperty(name = "channelId", value = "会话id")
      private String channelId;
          @ApiModelProperty(name = "msg", value = "消息内容")
      private String msg;
}
